package android.util;

public class Log {
  public static final int VERBOSE = 2;
  public static final int DEBUG = 3;
  public static final int INFO = 4;
  public static final int WARN = 5;
  public static final int ERROR = 6;
  public static final int ASSERT = 7;

  public static int d(final String tag, final String msg) {
    System.out.println(tag + " > " + msg);
    return println(DEBUG, tag, msg);
  }

  public static int d(final String tag, final String msg, final Throwable tr) {
    return println(DEBUG, tag, msg);
  }

  public static int e(final String tag, final String msg) {
    return println(ERROR, tag, msg);
  }

  public static int e(final String tag, final String msg, final Throwable tr) {
    return println(ERROR, tag, msg);
  }

  public static String getStackTraceString(final Throwable tr) {
    return "Log.getStackTraceString() not implemented in stub";
  }

  public static int i(final String tag, final String msg, final Throwable tr) {
    return println(INFO, tag, msg);
  }

  public static int i(final String tag, final String msg) {
    return println(INFO, tag, msg);
  }

  public static boolean isLoggable(final String tag, final int level) {
    return false;
  }

  public static int println(final int priority, final String tag, final String msg) {
    return -1;
  }

  public static int v(final String tag, final String msg, final Throwable tr) {
    return println(VERBOSE, tag, msg);
  }

  public static int v(final String tag, final String msg) {
    return println(VERBOSE, tag, msg);
  }

  public static int w(final String tag, final String msg) {
    return println(WARN, tag, msg);
  }

  public static int w(final String tag, final Throwable tr) {
    return println(WARN, tag, tr.getMessage());
  }

  public static int w(final String tag, final String msg, final Throwable tr) {
    return println(WARN, tag, msg);
  }
}
